
Imports System.Data.SqlClient
Imports ModuloAdministraciondeEnvios.Entity
Imports ModuloAdministraciondeEnvios.BusinessLogicLayer

Namespace BusinessLogicLayer

    Public Interface IEnvio
        Function TraerEnviosTodosRegistros() As DataSet
        Function TraerEnviosPorFechas(ByVal FechaInicio As Date, ByVal FechaTermino As Date) As DataSet
        Function TraerEnvio(ByVal n As Integer) As Envio
        Function Modificar(ByVal n As Integer, ByVal EnvioModificar As Envio) As Boolean
        Function BorrarEnvio(ByVal EnvioBorrado As Integer) As Boolean
        Overloads Function AgregarEnvio(ByVal IdEnvio, ByVal Fecha, ByVal Remitente, ByVal Destinatario, ByVal Movil, ByVal TipoDePago, ByVal TipoDeEnvio, ByVal ImporteEnvio, ByVal ImporteContrareembolso, ByVal CantidadDePaquetes, ByVal UltimoEstado) As Boolean
        Overloads Function AgregarEnvio(ByVal EnvioGrabado As Envio) As Boolean
        Function TraerEnviosCompletosPorFechas(ByVal FechaInicio As Date, ByVal FechaTermino As Date, ByVal Estado As Integer) As DataSet

    End Interface

End Namespace
